package singleCase;

/**
 * 这个是一个饿汉单例类
 */
public class HungrySingle {

    private static final  HungrySingle hun=new HungrySingle();

    private HungrySingle(){

    }

    public static HungrySingle getSigleton(){
        return hun;
    }


}
